package com.assignwork.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName VoyageBillSplitCabinPageVO
 * @Description 舱单信息分舱分页VO
 * @Author dujianyu
 * @Date 2023/8/25 15:45
 */
@Data
public class VoyageBillSplitCabinPageVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "票元数据ID")
    private Long sourceId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

    @ApiModelProperty(value = "单纸号")
    private String billNo;

    @ApiModelProperty(value = "货名")
    private String cargoName;

    @ApiModelProperty(value = "仓号")
    private String cabinKey;

    @ApiModelProperty(value = "包装")
    private String cargoPackage;

    @ApiModelProperty(value = "货件")
    private Integer allCargoPiece;

    @ApiModelProperty(value = "货吨")
    private BigDecimal allCargoTon;

    @ApiModelProperty(value = "作业吨")
    private BigDecimal allWorkTon;

    @ApiModelProperty(value = "甩吨")
    private BigDecimal allRemainder;

}
